package com.quanyue.music.system.service;

import com.quanyue.music.domain.constant.FMChannel;
import com.quanyue.music.domain.entity.ExcelAutoError;
import com.quanyue.music.domain.entity.PlayList;
import com.quanyue.music.system.type.FMPlayDetail;
import com.quanyue.music.system.type.FMPlayList;
import com.quanyue.music.system.type.FMPlayRequest;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;
import java.util.List;

public interface PlayListService {
    List <ExcelAutoError> addExcel(MultipartFile file, FMChannel channel, String data);

    void add(PlayList playList);

    void update(PlayList playList);

    void delete(String id);

    Boolean check(String date, FMChannel fmChannel);

    List <FMPlayList> findPlayList(String date, FMChannel fmChannel);

    List <FMPlayDetail> findPlay(FMPlayRequest request, String userId);

    List <ExcelAutoError> findError(String sessionId);

    void clearPlay(String date, FMChannel fmChannel);

    LocalDateTime findVipEndTime(String userId);
}
